package highlighter.ast.impl;

import highlighter.ast.IASTNode;
import highlighter.visitor.IASTVisitor;


public class Identifier implements IASTNode {

	private String name;

	public Identifier(String name) {
		super();
		this.name = name;
	}

	public String getName() {
		return name;
	}

	@Override
	public Object accept(IASTVisitor visitor) {
		return visitor.visit(this);
	}

}
